package exercise.no1;

import java.util.*;

/**
 * Version: 1.1
 * Author: TangJun
 * Date: 2024-07-24
 */
public class Test {
    public static void main(String[] args) {
        ArrayList list = new ArrayList();
        list.add(new News("这是一个短标题"));
        list.add(new News("震惊！这个标题长度居然超过了15！！！"));

        for (int i = list.size() - 1; i>=0 ; i--) {
            System.out.println(list.get(i));
        }

    }
}
